﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccessLibrary.DAL;

namespace BusinessLogicLibrary
{
    public class AuthenticateModule
    {
        private readonly AuthenDAO _authenDAO = new AuthenDAO();

        public string RoleGet(string userName, string password)
        {
            return _authenDAO.RoleGet(userName, password);
        }

         public bool UserCheck(string userName, string passWord, string position)
         {
             return _authenDAO.UserCheck(userName, passWord, position);
         }
    }
}
